package com.cloudlead.commonData.vo;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.commonData.action.validator.BaseCompanyValidatorGroup.*;

import javax.validation.constraints.Size;
import com.cloudlead.common.lang.annotation.Domain;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;
import javax.validation.constraints.NotNull;
import java.lang.Integer;

/**
 * BaseCompany is a Codegen vo type
 */
@Label("企业注册表")
@Domain(domainClassName="com.cloudlead.commonData.entity.EBaseCompany")
public class BaseCompany extends AbstractIdEntity<String> {

    private static final long serialVersionUID =13150155600923L;    
    @Label("开户名称")
    @Size(max=45)
    private String accountName;

    @Label("企业银行账号")
    @Size(max=45)
    private String accountNumber;

    @Label("开户银行")
    @Size(max=45)
    private String bank;

    @Label("营业执照")
    @Size(max=45)
    private String businessLicense;

    @Label("车辆总数")
    private Integer carsCount;

    @Label("备注")
    @Size(max=45)
    private String comments;

    @Label("企业地址")
    @Size(max=45)
    private String companyAddress;

    @Label("联系人")
    @Size(max=45)
    private String companyContact;

    @Label("传真")
    @Size(max=45)
    private String companyFax;

    @Label("企业级别")
    @Size(max=45)
    private String companyLevel;

    @Label("企业名称")
    @Size(max=45)
    private String companyName;

    @Label("电话1")
    @Size(max=45)
    private String companyPhone1;

    @Label("电话2")
    @Size(max=45)
    private String companyPhone2;

    @Label("企业名称简称")
    @Size(max=45)
    private String companyShortName;

    @Label("企业类型")
    @Size(max=45)
    private String companyType;

    @Label("允许危险品")
    @Size(max=45)
    private String dangerous;

    @Label("删除标记")
    @Size(max=45)
    private String flag;

    @Label("fleetArea")
    @Size(max=100)
    private String fleetArea;

    @NotNull(groups={Update.class})
    @Label("ID")
    @Size(max=24)
    private String id;

    @Label("企业身份")
    @Size(max=45)
    private String identity;

    @Label("发票抬头")
    @Size(max=45)
    private String invoiceTitle;

    @Label("法人身份证号")
    @Size(max=45)
    private String legalPerson;

    @Label("Logo图标")
    @Size(max=45)
    private String logoImage;

    @Label("组织机构代码")
    @Size(max=45)
    private String organizationCode;

    @Label("组织机构证")
    @Size(max=45)
    private String organizationFilePath;

    @Label("工商注册号")
    @Size(max=45)
    private String registrationNumber;

    @Label("船舶数量")
    private Integer shipsCount;

    @Label("状态")
    @Size(max=45)
    private String status;

    @Label("纳税人识别号")
    @Size(max=45)
    private String taxpayerIdentificationNumber;

    @Label("税务登记证")
    @Size(max=45)
    private String taxRegistrationFilePath;

    @Label("增值税一般纳税人")
    @Size(max=45)
    private String vatTaxpayer;

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getAccountNumber() {
        return accountNumber;
    }

    public void setAccountNumber(String accountNumber) {
        this.accountNumber = accountNumber;
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank;
    }

    public String getBusinessLicense() {
        return businessLicense;
    }

    public void setBusinessLicense(String businessLicense) {
        this.businessLicense = businessLicense;
    }

    public Integer getCarsCount() {
        return carsCount;
    }

    public void setCarsCount(Integer carsCount) {
        this.carsCount = carsCount;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getCompanyAddress() {
        return companyAddress;
    }

    public void setCompanyAddress(String companyAddress) {
        this.companyAddress = companyAddress;
    }

    public String getCompanyContact() {
        return companyContact;
    }

    public void setCompanyContact(String companyContact) {
        this.companyContact = companyContact;
    }

    public String getCompanyFax() {
        return companyFax;
    }

    public void setCompanyFax(String companyFax) {
        this.companyFax = companyFax;
    }

    public String getCompanyLevel() {
        return companyLevel;
    }

    public void setCompanyLevel(String companyLevel) {
        this.companyLevel = companyLevel;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyPhone1() {
        return companyPhone1;
    }

    public void setCompanyPhone1(String companyPhone1) {
        this.companyPhone1 = companyPhone1;
    }

    public String getCompanyPhone2() {
        return companyPhone2;
    }

    public void setCompanyPhone2(String companyPhone2) {
        this.companyPhone2 = companyPhone2;
    }

    public String getCompanyShortName() {
        return companyShortName;
    }

    public void setCompanyShortName(String companyShortName) {
        this.companyShortName = companyShortName;
    }

    public String getCompanyType() {
        return companyType;
    }

    public void setCompanyType(String companyType) {
        this.companyType = companyType;
    }

    public String getDangerous() {
        return dangerous;
    }

    public void setDangerous(String dangerous) {
        this.dangerous = dangerous;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getFleetArea() {
        return fleetArea;
    }

    public void setFleetArea(String fleetArea) {
        this.fleetArea = fleetArea;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getInvoiceTitle() {
        return invoiceTitle;
    }

    public void setInvoiceTitle(String invoiceTitle) {
        this.invoiceTitle = invoiceTitle;
    }

    public String getLegalPerson() {
        return legalPerson;
    }

    public void setLegalPerson(String legalPerson) {
        this.legalPerson = legalPerson;
    }

    public String getLogoImage() {
        return logoImage;
    }

    public void setLogoImage(String logoImage) {
        this.logoImage = logoImage;
    }

    public String getOrganizationCode() {
        return organizationCode;
    }

    public void setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
    }

    public String getOrganizationFilePath() {
        return organizationFilePath;
    }

    public void setOrganizationFilePath(String organizationFilePath) {
        this.organizationFilePath = organizationFilePath;
    }

    public String getRegistrationNumber() {
        return registrationNumber;
    }

    public void setRegistrationNumber(String registrationNumber) {
        this.registrationNumber = registrationNumber;
    }

    public Integer getShipsCount() {
        return shipsCount;
    }

    public void setShipsCount(Integer shipsCount) {
        this.shipsCount = shipsCount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTaxpayerIdentificationNumber() {
        return taxpayerIdentificationNumber;
    }

    public void setTaxpayerIdentificationNumber(String taxpayerIdentificationNumber) {
        this.taxpayerIdentificationNumber = taxpayerIdentificationNumber;
    }

    public String getTaxRegistrationFilePath() {
        return taxRegistrationFilePath;
    }

    public void setTaxRegistrationFilePath(String taxRegistrationFilePath) {
        this.taxRegistrationFilePath = taxRegistrationFilePath;
    }

    public String getVatTaxpayer() {
        return vatTaxpayer;
    }

    public void setVatTaxpayer(String vatTaxpayer) {
        this.vatTaxpayer = vatTaxpayer;
    }

    public String toString() {
         return String.format("BaseCompany { accountName : %s,accountNumber : %s,bank : %s,businessLicense : %s,carsCount : %s,comments : %s,companyAddress : %s,companyContact : %s,companyFax : %s,companyLevel : %s,companyName : %s,companyPhone1 : %s,companyPhone2 : %s,companyShortName : %s,companyType : %s,dangerous : %s,flag : %s,fleetArea : %s,id : %s,identity : %s,invoiceTitle : %s,legalPerson : %s,logoImage : %s,organizationCode : %s,organizationFilePath : %s,registrationNumber : %s,shipsCount : %s,status : %s,taxpayerIdentificationNumber : %s,taxRegistrationFilePath : %s,vatTaxpayer : %s }",accountName,accountNumber,bank,businessLicense,carsCount,comments,companyAddress,companyContact,companyFax,companyLevel,companyName,companyPhone1,companyPhone2,companyShortName,companyType,dangerous,flag,fleetArea,id,identity,invoiceTitle,legalPerson,logoImage,organizationCode,organizationFilePath,registrationNumber,shipsCount,status,taxpayerIdentificationNumber,taxRegistrationFilePath,vatTaxpayer);
    }

}

